//定义小仓库数据state类型
import type {RouteRecordRaw} from "vue-router"; //路由对象的ts
import type {CategoryObj} from '@/api/product/attr/type.ts'
export interface  UserState{
    token:string |null,
    menuRoutes:RouteRecordRaw[],
    username:string,
    avatar:string,
    buttons:string[]
}
//分类仓库数据类型
export interface  CategoryState{
    c1Id:number|string,
    c2Id:number|string,
    c3Id:number|string,
    c1Arr:CategoryObj[],
    c2Arr:CategoryObj[],
    c3Arr:CategoryObj[],
}